<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/jsp/business/include/doctype.jsp" %>
<script>
$(document).ready(function(){ 
	$('#viewPage_').find('img').each(function() {
		w = $(this).attr('width');
		h = $(this).attr('height');
		if (w > 230 || w == undefined) {
			imgUrl = "location.href='${requestScope.contextPath}/imgZoom.jsp?imgUrl=" + $(this).attr('src')+"&width="+$(this).attr('width')+"&height="+$(this).attr('height')+"'";
			$(this).attr('width', '230');
			$(this).attr('height', Math.round(h*(230/w)));
			$(this).attr('onClick', imgUrl);
		}
	});
});
</script>
</head>
<body>
	<div id="wrap">
		<div class="header">
			<h1>O.I. 제안</h1>
		</div><!-- // header -->
		<div class="content">
			<h3>아이디어 제안</h3>
			<div class="access">
			<div class="table5">
				<table summary="" cellspacing="0" style="width:100%;">
					<caption>아이디어 제안</caption>
					<colgroup>
						<col style="width:25%" />
						<col style="width:75%" />
						</colgroup>
					<tbody>
						<tr>
							<th scope="row"><label for="name">제안자</label></th>
							<td>${map.EmpName} ${map.DeptName} (${map.TelNum})</td>
						</tr>
						<tr>
							<th scope="row">제안일자</th>
							<td>${map.CreateDate}</td>
						</tr>
						<tr>
							<th scope="row"><label for="title">제목</label></th>
							<td>${map.Title}</td>
						</tr>
						<tr>
							<th scope="row"><label for="coment">내용</label></th>
							<td><div id="viewPage_">${map.Content}</div></td>
						</tr>
						<tr>
							<th scope="row">심사부서 변경</th>
							<td>${map.judgeDept}</td>
						</tr>
					</tbody>
				</table>
				<p class="btn_more" style="padding-bottom:20px;">
					<a href="${requestScope.contextPath}/business/mOI_/mOIJudgeList.do?pageGubun=${param.pageGubun}&page=${page}&endY=${param.endY}"><img src="${requestScope.contextPath}/images/btn/btn_view2.gif" alt="목록보기" /></a>
				</p>
			</div>
			</div>
		</div><!-- // content -->
	</div><!-- // wrap -->
</body>
</html>
